package org.flow.basic.util.es;


import org.flow.basic.util.es.builder.SearchQueryBuilder;

/**
 * @author xl-9527
 * @since 2024/10/8
 **/
public class EsQueryBuilder {

    private final String indexName;

    public EsQueryBuilder(final String indexName) {
        this.indexName = indexName;
    }

    public static EsQueryBuilder builder(final String indexName) {
        return new EsQueryBuilder(indexName);
    }

    public void get() {}

    public SearchQueryBuilder search() {
        return new SearchQueryBuilder(this.indexName);
    }

    public void post() {}
}
